gtk-icon-sizes = "panel-menu=32,32:panel=32,32:gtk-menu=24,24:gtk-large-toolbar=32,32:gtk-small-toolbar=32,32:gtk-button=32,32"
pixmap_path "/usr/share/themes/xfdark/gtk-2.0"

style "checkradiobutton" {
  GtkCheckButton::indicator_size    = 32
  engine "pixmap" {
    image {
      function        = FLAT_BOX
      recolorable     = TRUE
      file            = "blank.svg"
      border          = { 0,0,0,0 }
      stretch         = TRUE
    }
#CHECKBOX
    image {
      function        = CHECK
      recolorable     = TRUE
      shadow          = OUT
      overlay_file    = "check1.svg"
      overlay_stretch = TRUE
    }
    #Pressed
    image {
      function        = CHECK
      recolorable     = TRUE
      state           = INSENSITIVE
      shadow          = IN
      overlay_file    = "check3.svg"
      overlay_stretch = TRUE
    }
    image {
      function        = CHECK
      recolorable     = TRUE
      #Since no 'state' is define, this fits the rest
      shadow          = IN
      overlay_file    = "check2.svg"
      overlay_stretch = TRUE
    }
# RADIOBUTTON
    image {
      function        = OPTION
      recolorable     = TRUE
      shadow          = OUT
      overlay_file    = "radio1.svg"
      overlay_border  = { 0, 0, 0, 0 }
      overlay_stretch = TRUE
    }
    image {
      function        = OPTION
      recolorable     = TRUE
      shadow          = IN
      overlay_file    = "radio2.svg"
      overlay_border  = { 0, 0, 0, 0 }
      overlay_stretch = TRUE
    }
  }
}
class "GtkRadioButton" style "checkradiobutton"
class "GtkCheckButton" style "checkradiobutton"


style "button" {
  engine "pixmap" {
    image {
      function        = BOX
      recolorable     = TRUE
      state           = NORMAL
      shadow          = IN
      file            = "default.png"
      border          = { 7,7,7,7 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      state           = INSENSITIVE
      file            = "button3.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      state           = PRELIGHT
      file            = "button2.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      state           = ACTIVE
      file            = "button2.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      shadow          = IN
      state           = SELECTED
      file            = "button2.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      shadow          = IN
      state           = SELECTED
      file            = "button1.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      file            = "button1.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
  }
}
class "GtkButton" style "button"


style "notebook" {
  engine "pixmap" {
    image {
      function        = EXTENSION
      recolorable     = TRUE
      state           = ACTIVE
      file            = "notebook1.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
    image {
      function        = EXTENSION
      recolorable     = TRUE
      file            = "notebook2.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
    image {
      function        = BOX_GAP
      recolorable     = TRUE
      file            = "up.png"
      border          = { 2,2,2,2 }
      stretch         = TRUE
      gap_file        = "blank.svg"
      gap_border      = { 0, 0, 0, 0 }
      gap_start_file  = "blank.svg"
      gap_start_border= { 0, 0, 0, 0 }
      gap_end_file    = "blank.svg"
      gap_end_border  = { 0, 0, 0, 0 }
    }
  }
}
class "GtkNotebook" style "notebook"


style "menubar" {
  GtkMenuBar ::internal-padding  = 3
  engine "pixmap" {
    image {
      function        = BOX
      state           = NORMAL
      file            = "list_header.png"
      border          = { 2, 2, 2, 2 }
      stretch         = TRUE
    }
  }
}
class "GtkMenuBar*" style "menubar"


style "menu" = "default" {
  xthickness = 3
  ythickness = 1
  engine "pixmap" {
    image {
      function        = BOX
      recolorable     = TRUE
      detail          = "menu"
      file            = "list_header.png"
      border          = { 3, 3, 3, 3 }
      stretch         = TRUE
    }
  }
}
class "GtkMenu" style "menu"


style "menuitem" {
  ythickness = 5
  engine "pixmap" {
    image {
      function        = BOX
      recolorable     = TRUE
      file            = "button2.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
  }
}
class "GtkMenuItem" style "menuitem"


style "optionmenu" {
  engine "pixmap" {
    image {
      function        = BOX
      recolorable     = TRUE
      state           = INSENSITIVE
      file            = "obutton2.png"
      border          = { 6,20,6,6 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      file            = "obutton1.png"
      border          = { 6,20,6,6 }
      stretch         = TRUE
    }
    image {
      state           = INSENSITIVE
      function        = TAB
      recolorable     = TRUE
      overlay_file    = "option2.png"
      overlay_stretch = FALSE
    }
    image {
      function        = TAB
      recolorable     = TRUE
      overlay_file    = "option1.png"
      overlay_stretch = FALSE
    }
  }
}
class "GtkOptionMenu" style "optionmenu"


style "scrollbar" {
  engine "pixmap" {
    image {
      function        = BOX
      recolorable     = FALSE
      detail          = "trough"
      file            = "trough.png"
      border          = { 7,7,7,7 }
      stretch         = TRUE
    }
    image {
      function        = SLIDER
      recolorable     = TRUE
      state           = INSENSITIVE
      file            = "button3.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
    image {
      function        = SLIDER
      recolorable     = TRUE
      file            = "button2.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      state           = INSENSITIVE
      file            = "button3.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      state           = PRELIGHT
      file            = "button2.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      shadow          = IN
      file            = "button2.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      file            = "button1.png"
      border          = { 6,6,6,6 }
      stretch         = TRUE
    }
  }
}
class "GtkScrollbar" style "scrollbar"
class "GtkRange" style "scrollbar"
class "GtkProgressBar" style "scrollbar"


style "spin" {
  engine "pixmap" {
    image {
      function        = BOX
      recolorable     = TRUE
      state           = PRELIGHT
      file            = "spin2.png"
      border          = { 4,5,4,5 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      shadow          = IN
      file            = "spin2.png"
      border          = { 4,5,4,5 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      state           = INSENSITIVE
      file            = "spin3.png"
      border          = { 4,5,4,5 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      file            = "spin1.png"
      border          = { 4,5,4,5 }
      stretch         = TRUE
    }
  }
}
class "GtkSpin*" style "spin"


style "list-header" {
  ythickness = 1
  GtkTreeView::odd_row_color  = "#a1a1a1"
  GtkTreeView::even_row_color = "#aaa"
  fg[NORMAL]   = "#444444"						#text of header
  text[NORMAL] = "#222222"						#text of items
  engine "pixmap" {
    image {
      function        = BOX
      recolorable     = TRUE
      state           = NORMAL
      file            = "list_header.png"
      border          = { 2, 2, 2, 2 }
      stretch         = TRUE
    }
    image {
      function        = BOX
      recolorable     = TRUE
      state           = PRELIGHT
      file            = "list_header-light.png"
      border          = { 2, 2, 2, 2 }
      stretch         = TRUE
    }
  }
}
class "GtkList"            style "list-header"
class "GtkTree"            style "list-header"
class "GtkCList"           style "list-header"
class "GtkCTree"           style "list-header"
class "GtkTreeView"        style "list-header"
widget_class "*List*"      style "list-header"
widget_class "*GtkTree*"   style "list-header"
widget_class "*GtkCList*"  style "list-header"


style "default" {
  font_name         = "DejaVu Sans 10"
  fg[NORMAL]        = "#222"		#Foreground text of nearly all widgets (not editor text)
  fg[PRELIGHT]      = "#000"		#Foreground text as you mouse-over something
  fg[ACTIVE]        = "#000"		#Foreground text of non-selected but available widgets
  fg[SELECTED]      = "#000"		#The foreground of something as you click on it, or which is already selected
  fg[INSENSITIVE]   = "#666"		#Foreground text of inactive buttons, etc.

  bg[NORMAL]        = "#ccc"		#The background of every non-clickable/non-active element
  bg[PRELIGHT]      = "gray60"		#??
  bg[ACTIVE]        = "#aaa"		#The background of Evolutions's icons, selected folder, shorcut panel, etc.
  bg[SELECTED]      = "#63A9D1"		#The background of something as you click on it, or which is already selected
  bg[INSENSITIVE]   = "#aaa"		#Background of un-clickable widgets

  base[NORMAL]      = "#bbb"		#Background for just about everything (editor windows, Evolution's folders, etc.)
  base[SELECTED]    = "#608898"		#Background of selected text in a list when window is in foreground
  base[ACTIVE]      = "#608898"		#Background of selected text in a list when window not in foreground
  base[PRELIGHT]    = "#ffffff"		#??
  base[INSENSITIVE] = "#888"		#Background of un-clickable widgets

  #text[INSENSITIVE]= "#9B9B9B"		#Un-selectable text
  #text[SELECTED]   = "#000000"		#Foreground of selected text in a list when window is in foreground
  #text[ACTIVE]     = "#444444"		#Certain highlighted/selected things
  #text[PRELIGHT]   = "#353535"

  GtkRange			::slider_width		= 15
  GtkScrollbar		::min_slider_length	= 15
  GtkExpander		::expander_size		= 26
  GtkRange       ::slider_width      = 26
  GtkRange       ::stepper_size      = 26
  GtkTreeView::vertical-separator 	= 5

  engine "pixmap" {
    image {
      function        = FOCUS
      recolorable     = TRUE
      state           = NORMAL
      #remove 2 lines above to get blue border
      file    = "default.png"
      border  = { 6, 6, 6, 6 }
      stretch = TRUE
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      state           = NORMAL
      file            = "arrow_up1.svg"
      stretch         = TRUE
      arrow_direction = UP
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      state           = PRELIGHT
      file            = "arrow_up1.svg"
      stretch         = TRUE
      arrow_direction = UP
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      shadow          = IN
      file            = "arrow_up1.svg"
      stretch         = TRUE
      arrow_direction = UP
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      state           = INSENSITIVE
      file            = "arrow_up2.svg"
      stretch         = TRUE
      arrow_direction = UP
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      state           = NORMAL
      file            = "arrow_down1.svg"
      stretch         = TRUE
      arrow_direction = DOWN
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      state           = PRELIGHT
      file            = "arrow_down1.svg"
      stretch         = TRUE
      arrow_direction = DOWN
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      shadow          = IN
      file            = "arrow_down1.svg"
      stretch         = TRUE
      arrow_direction = DOWN
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      state           = INSENSITIVE
      file            = "arrow_down2.svg"
      stretch         = TRUE
      arrow_direction = DOWN
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      state           = NORMAL
      file            = "arrow_left1.svg"
      stretch         = TRUE
      arrow_direction = LEFT
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      state           = PRELIGHT
      file            = "arrow_left1.svg"
      stretch         = TRUE
      arrow_direction = LEFT
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      shadow          = IN
      file            = "arrow_left1.svg"
      stretch         = TRUE
      arrow_direction = LEFT
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      state           = INSENSITIVE
      file            = "arrow_left2.svg"
      stretch         = TRUE
      arrow_direction = LEFT
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      state           = NORMAL
      file            = "arrow_right1.svg"
      stretch         = TRUE
      arrow_direction = RIGHT
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      state           = PRELIGHT
      file            = "arrow_right1.svg"
      stretch         = TRUE
      arrow_direction = RIGHT
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      shadow          = IN
      file            = "arrow_right1.svg"
      stretch         = TRUE
      arrow_direction = RIGHT
    }
    image {
      function        = ARROW
      recolorable     = TRUE
      state           = INSENSITIVE
      file            = "arrow_right2.svg"
      stretch         = TRUE
      arrow_direction = RIGHT
    }
    image {
      function        = SHADOW
      recolorable     = TRUE
      shadow          = OUT
      file            = "up.png"
      border          = { 2,2,2,2 }
      stretch         = TRUE
    }
    image {
      function        = SHADOW
      recolorable     = TRUE
      shadow          = IN
      file            = "in.png"
      border          = { 2,2,2,2 }
      stretch         = TRUE
    }
  }
}
# common default
class "GtkWidget" style "default"
